export default {
    namespaced: true,
    state : {
       isLoading : false, //是否正在加载数据
    },
    getters : {
        
    },
    mutations : {
       setIsLoading(state, data) {
        state.isLoading = data
       }
    },
    actions : {
       setLoading({commit}, loadingState) {
           commit('setIsLoading', loadingState)
       },
    }
}